package cyou.breathe.blog.api.user.service;

import cyou.breathe.blog.api.user.request.UserQueryRequest;
import cyou.breathe.blog.api.user.request.UserRegisterRequest;
import cyou.breathe.blog.api.user.response.UserOperatorResponse;
import cyou.breathe.blog.api.user.response.UserQueryResponse;
import cyou.breathe.blog.api.user.response.data.UserInfo;

/**
 * @author: breathe
 * @createTime: 2025-08-27
 */
public interface UserFacadeService {

    /**
     * 用户注册
     * @param userRegisterRequest 注册请求参数
     * @return 用户操作响应
     */
    UserOperatorResponse register(UserRegisterRequest userRegisterRequest);

    /**
     * 用户信息查询
     * @param userQueryRequest
     * @return
     */
    UserQueryResponse<UserInfo> query(UserQueryRequest userQueryRequest);
}
